public class Const extends Symbol
{
    String value;
    
    public Const(String name, String classification, String type, int lexLevel, String value)
    {
        super(name, classification, type, lexLevel);
        this.value = value;
    }

    public String entryString()
    {
        String str = "";
        if(lexLevel > 0)
            str += "-->";
        str+="N: " + name +" C: " + classification + " T: " + type;
        if(!value.equals("null"))
            str += " V: " + value;
        return str;
    }
}
